<td><input type="checkbox" name="id[]" value="{$vo.id}"></td>
<td>{$vo.id}</td>
<td>{$vo.user_id}</td>
<td>{notempty name="vo['head_img']"}<img src="{$vo.head_img}"  width="50px" height="50px ">{/notempty}</td>
<td>
    <a title="详细资料" href="javascript:;" onclick="driverInfo({$vo.user_id})" style="text-decoration:none">
    {$vo.realname}
    </a>
</td>
<td>{$vo.mobile}</td>
<td>{$vo.score}</td>
<td>{$vo.create_time?date('Y-m-d H:i:s',$vo.create_time):"--"}</td>
<td>
{switch name="$vo.rank_id"}
    {case value="0"}新手{/case}
    {case value="13"}初级{/case}
    {case value="14"}中级{/case}
    {case value="15"}高级{/case}
{/switch}
</td>
{eq name="vo.check" value="0"}
<td>未处理</td>
{else/}
<td>已处理</td>
{/eq}
{eq name="vo.isagree" value="0"}
<td>不同意</td>
{else/}
<td>同意</td>
{/eq}
<td>{$vo.remake}</td>

<script>
    function driverInfo(user_id) {
        var url = '/admin/driver_rank_apply/details';
        if (!user_id){
            layer.msg('缺少必要的参数');
        }
        $.ajax({
            type: 'get',
            url: url,
            data:{ user_id: user_id },
            success: function (data) {
                if (data.code == 1){
                    layer.msg(data.msg)
                    return false
                }else{
                    layer_open('详细资料','/admin/driver_rank_apply/details/user_id/'+user_id,{w:'1300px',h:'750px'})
                }
            }
        })
    }
</script>